package com.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (TbProduct)实体类
 *
 * @author makejava
 * @since 2023-07-11 09:12:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_products")
public class TbProducts implements Serializable {
    private static final long serialVersionUID = 398462161392133896L;
    @TableId(type = IdType.AUTO)
    private Integer productId;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 产品线
     */
    private String productLine;
    /**
     * 图片
     */
    private String productPic;
    /**
     * 产品类型
     */
    private String productType;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date productCreattime;
    /**
     * 上架状态 0下架/1上架
     */
    private int productState;
    /**
     * 关注状态
     */
    private int productAttention;
    /**
     * 编码
     */
    private String productCode;
    /**
     * 尺寸
     */
    private String productSize;
    /**
     * 成色
     */
    private String productCoupler;
    /**
     * 克重
     */
    private Double productWeight;
    /**
     * 毛重
     */
    private Double productMweight;
    /**
     * 材质
     */
    private String productTexture;
    /**
     * 系列
     */
    private String productSeries;
    /**
     * 形状
     */
    private String productShape;
    /**
     * 校验标准(合格/不合格)
     */
    private String productCriterion;
    /**
     * 包装(普通礼盒/豪华礼盒)
     */
    private String productPackaging;
    /**
     * 用途(投资保值/送人/自己戴)
     */
    private String productUse;
    /**
     * 颜色
     */
    private String productColor;
    /**
     * 适合人群
     */
    private String productPeople;
    
    private Integer productA;
    
    private Integer productB;
    
    private Integer productC;
    
    private Integer productD;
    
    private Integer productE;


    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductLine() {
        return productLine;
    }

    public void setProductLine(String productLine) {
        this.productLine = productLine;
    }

    public String getProductPic() {
        return productPic;
    }

    public void setProductPic(String productPic) {
        this.productPic = productPic;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

     public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductSize() {
        return productSize;
    }

    public void setProductSize(String productSize) {
        this.productSize = productSize;
    }

    public String getProductCoupler() {
        return productCoupler;
    }

    public void setProductCoupler(String productCoupler) {
        this.productCoupler = productCoupler;
    }

    public Double getProductWeight() {
        return productWeight;
    }

    public void setProductWeight(Double productWeight) {
        this.productWeight = productWeight;
    }

    public Double getProductMweight() {
        return productMweight;
    }

    public void setProductMweight(Double productMweight) {
        this.productMweight = productMweight;
    }

    public String getProductTexture() {
        return productTexture;
    }

    public void setProductTexture(String productTexture) {
        this.productTexture = productTexture;
    }

    public String getProductSeries() {
        return productSeries;
    }

    public void setProductSeries(String productSeries) {
        this.productSeries = productSeries;
    }

    public String getProductShape() {
        return productShape;
    }

    public void setProductShape(String productShape) {
        this.productShape = productShape;
    }

    public String getProductCriterion() {
        return productCriterion;
    }

    public void setProductCriterion(String productCriterion) {
        this.productCriterion = productCriterion;
    }

    public String getProductPackaging() {
        return productPackaging;
    }

    public void setProductPackaging(String productPackaging) {
        this.productPackaging = productPackaging;
    }

    public String getProductUse() {
        return productUse;
    }

    public void setProductUse(String productUse) {
        this.productUse = productUse;
    }

    public String getProductColor() {
        return productColor;
    }

    public void setProductColor(String productColor) {
        this.productColor = productColor;
    }

    public String getProductPeople() {
        return productPeople;
    }

    public void setProductPeople(String productPeople) {
        this.productPeople = productPeople;
    }

    public Integer getProductA() {
        return productA;
    }

    public void setProductA(Integer productA) {
        this.productA = productA;
    }

    public Integer getProductB() {
        return productB;
    }

    public void setProductB(Integer productB) {
        this.productB = productB;
    }

    public Integer getProductC() {
        return productC;
    }

    public void setProductC(Integer productC) {
        this.productC = productC;
    }

    public Integer getProductD() {
        return productD;
    }

    public void setProductD(Integer productD) {
        this.productD = productD;
    }

    public Integer getProductE() {
        return productE;
    }

    public void setProductE(Integer productE) {
        this.productE = productE;
    }

}

